#include "log/log_stream.h"

namespace xlog {
    LogStream::Self& LogStream::operator << (uint32_t v)
    {
        return *this;
    }

    LogStream::Self& LogStream::operator << (const char* str)
    {
        if (str)
        {
            m_buffer.append(str, strlen(str));
        }
        else
        {
            m_buffer.append("(null)", 6);
        }
        return *this;
    }
} // namespace xlog